#include "filehelper.hpp"
#include "timehelper.hpp"
#include "../logger/loglevel.hpp"
using namespace std;
using namespace ns_helper;
using namespace ns_logger;
void test1()
{
    cout << TimeUntil::GetTime() << endl;
    time_t t = TimeUntil::GetTime();
    struct tm tm;
    localtime_r(&t, &tm);
    char tmp[128];
    strftime(tmp, 127, "%H:%M:%S", &tm);
    cout<<tmp<<endl;
    // string path = "./abc/def/a.text";
    // cout << FileUntil::FilePath(path) << endl;
    // FileUntil::CreateDirectory(FileUntil::FilePath(path));
}

void test2()
{
    cout << (LogLevel::LevelToString(LogLevel::value::Known)) << endl;
    cout << (LogLevel::LevelToString(LogLevel::value::Error)) << endl;
}
int main()
{
    test1();
    return 0;
}